package com.segersten.othello.service.akka.lobby.dao;

import java.util.Collection;
import java.util.List;

import com.segersten.othello.service.akka.Auth;
import com.segersten.othello.service.akka.Player;
import com.segersten.othello.service.akka.lobby.BoardReference;
import com.segersten.othello.service.akka.lobby.DomainPlayer;
import com.segersten.othello.service.akka.lobby.Game;

public interface LoginRegistryDao
{

    Auth addSession(String domain, String nick, Auth auth);

    boolean isAuthorized(Auth auth);

    DomainPlayer getDomainPlayer(Auth auth);

    Collection<Auth> getAllSessions();

    Player getPlayer(DomainPlayer domainPlayer);

}